package com.linksfield.topup.entity.interfaces.anoverview.admin.periodcount.defaultask.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 概览：管理员：按照月份，按年企业查询：
 * 查询默认套餐：按照规格查询对应的订单数
 * 不管是按月还是按年都是这个请求实体
 * <p>
 * request：前端 RequestDefaultOrderCount
 * response：后端 ResponseDefaultOrderCount
 *
 * @author: lm
 * @date: 2020-04-20 10:33
 */
@Data
public class RequestDefaultOrderCount implements Serializable {

    private static final long serialVersionUID = 7239630614441707349L;

    @ApiModelProperty(value = "接口业务类型。此字段不可传空字符串 ", example = "partnerServiceView", dataType = "String")
    private String tradeType;

    @ApiModelProperty(value = "中英文请求标志：cn/en。此字段不可传空字符串 ", example = "cn", dataType = "String")
    private String lang;

    @ApiModelProperty(value = "定义接口的请求版本，本次接口值：3.0 。此字段不可传空字符串", example = "3.0", dataType = "String")
    private String version;

    @ApiModelProperty(value = "企业唯一编码。此字段不可传空字符串", example = "P000270", dataType = "String")
    private String partnerCode;

    @ApiModelProperty(value = "时间字符串：yyyy-dd。此字段不可传空字符串", example = "2020-03", dataType = "String")
    private String date;

    @ApiModelProperty(value = "是按月查询，还是按年查询：按月mark=0，按年mark=1。此字段不可传空字符串", example = "0", dataType = "String")
    private String mark;
}
